package team.star.werespos.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import team.star.werespos.model.entity.User;

import java.util.List;

/**
 * UserMapper interface<br/>
 *
 * @author hdonghong
 * @since  2018/04/30
 */
public interface UserMapper extends BaseMapper<User> {


    User findByUsername(@Param("username") String username);


    User getUser(@Param("uid") Integer uid);

    List<User> listUsers();
}
